T
IdeaBlade DevForce 2010 Help Reference
GetRelatedEntities<T>(EntityRelationLink) Method
See Also  Send Feedback
IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel Namespace > EntityAspect Class > GetRelatedEntities Method : GetRelatedEntities<T>(EntityRelationLink) Method



Returns all related entities via the specified EntityRelationLink.

Syntax

Visual Basic (Declaration) 
Public Overloads Function GetRelatedEntities(Of T As Class)( _
   ByVal relationLink As EntityRelationLink _
) As IEnumerable(Of T)
Visual Basic (Usage)Copy Code
Dim instance As EntityAspect
Dim relationLink As EntityRelationLink
Dim value As IEnumerable(Of T)
 
value = instance.GetRelatedEntities(Of T)(relationLink)
C# 
public IEnumerable<T> GetRelatedEntities<T>( 
   EntityRelationLink relationLink
)
where T: class
C++/CLI 
public:
IEnumerable<T^>^ GetRelatedEntitiesgeneric<typename T>
( 
   EntityRelationLink^ relationLink
) 
where T: ref class

Parameters

relationLink

Type Parameters

T

Remarks

The current EntityManager.DefaultQueryStrategy is used to determine how this query is fulfilled.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.